from utils.path_generator import filePath
import json

import os

env_dist = os.environ
f = open(filePath.config_path + "env.json", "r")
json_data = json.load(f)
f.close()
if env_dist.get('interfaceTestEnv')!=None:
    json_data["current_env"]=env_dist.get('interfaceTestEnv')
env=json_data.get("current_env")
project=json_data.get("default_project")
domain=json_data.get(env+"_api_domain").get(project)
urlHead="http://"+domain
os.environ['userCenterEnv']=json_data.get("current_env")




